package com.lovo.roomProject.updatePwd.service.impl;

import com.lovo.roomProject.pojo.SystemDO;
import com.lovo.roomProject.updatePwd.dao.UpdatePwdDAO;
import com.lovo.roomProject.updatePwd.dao.impl.UpdatePwdDAOImpl;
import com.lovo.roomProject.updatePwd.service.UpdatePwdService;

public class UpdatePwdServiceImpl implements UpdatePwdService {
    private UpdatePwdDAO updatePwdDAO = new UpdatePwdDAOImpl();
    @Override
    public void changePwd(SystemDO loginUser, String iptOldPwd, String iptNewPwd, String iptConfirmPwd) throws Exception {
        updatePwdDAO.changePwd(loginUser,iptOldPwd,iptNewPwd,iptConfirmPwd);
    }
}
